|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.epiphan.vga2usb.Enum
com.epiphan.vga2usb.Enum.Int
com.epiphan.vga2usb.DeviceType
Typesafe enumeration of the device types.
Field Summary | |
static DeviceType |
DVI2PCI
DVI2PCIe frame grabber. |
static DeviceType |
DVI2USB
DVI2USB dual-mode (VGA & DVI) frame grabber. |
static DeviceType |
DVI2USBDuo
DVI2USB Duo frame grabber. |
static DeviceType |
DVI2USBSolo
DVI2USB Solo frame grabber. |
static DeviceType |
KVM2USB
Old KVM2USB device (discontinued). |
static DeviceType |
KVM2USBLR
KVM2USB device, revision 2. |
static DeviceType |
KVM2USBLR2
KVM2USB device, revision 3. |
static DeviceType |
KVM2USBPro
KVM2USB Pro device. |
static DeviceType |
UNKNOWN
Placeholder for any unknown device type. |
static DeviceType |
VGA2PCI
VGA2PCIe frame grabber. |
static DeviceType |
VGA2USB
VGA2USB frame grabber. |
static DeviceType |
VGA2USBHR
VGA2USB HR frame grabber. |
static DeviceType |
VGA2USBHR2
VGA2USB HR frame grabber, revision 2. |
static DeviceType |
VGA2USBLR
VGA2USB LR frame grabber. |
static DeviceType |
VGA2USBLR2
VGA2USB LR frame grabber, revision 2. |
static DeviceType |
VGA2USBPro
VGA2USB Pro frame grabber. |
static DeviceType |
VGA2USBPro2
VGA2USB Pro frame grabber, revision 2. |
Method Summary | |
int |
compareTo(int key)
Compares id of this object with the specified key for order. |
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
String |
getDescription()
Returns the description of this object. |
static DeviceType |
getDeviceType(int value)
Converts native device type value into a DeviceType object. |
static DeviceType |
getDeviceType(int value,
String name)
Converts native device type value into a DeviceType object. |
int |
getValue()
Gets the integer value associated with this object. |
int |
hashCode()
Returns the hashcode for this object. |
protected static int |
search(java.util.List list,
int key)
Searches the list for the specified enum object using the binary search algorithm. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DeviceType DVI2PCI
public static final DeviceType DVI2USB
public static final DeviceType DVI2USBDuo
public static final DeviceType DVI2USBSolo
public static final DeviceType KVM2USB
public static final DeviceType KVM2USBLR
public static final DeviceType KVM2USBLR2
public static final DeviceType KVM2USBPro
public static final DeviceType UNKNOWN
public static final DeviceType VGA2PCI
public static final DeviceType VGA2USB
public static final DeviceType VGA2USBHR
public static final DeviceType VGA2USBHR2
public static final DeviceType VGA2USBLR
public static final DeviceType VGA2USBLR2
public static final DeviceType VGA2USBPro
public static final DeviceType VGA2USBPro2
Method Detail |
public static DeviceType getDeviceType(int value)
value
- integer value that identifies the device type
DeviceType
object that identifies this device
type, or UNKNOWN
if the device type is unknown.public static DeviceType getDeviceType(int value, String name)
value
- integer value that identifies the device typename
- device type string
DeviceType
object that identifies this devicepublic int compareTo(int key)
key
- the key to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- the Object to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public final int getValue()
public final int hashCode()
protected static int search(java.util.List list, int key)
list
- the list to searchkey
- the key to search for
public final String getDescription()
public final String toString()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |